Skip to content

ci(release): announce releases in repo and org discussions#167

Open
rahlk wants to merge 1 commit into
mainfrom
ci/announce-releases-in-discussions
Open

ci(release): announce releases in repo and org discussions#167
rahlk wants to merge 1 commit into
mainfrom
ci/announce-releases-in-discussions

Conversation

@rahlk

@rahlk rahlk commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Closes #166.

What

Post each release to GitHub Discussions in two places (parity with codeanalyzer-typescript/-python):

  • Repo-level — add discussion_category_name: Announcements to the existing action-gh-release@v3 publish step, plus discussions: write to the workflow permissions: block (the restrictive block otherwise denies the release-linked discussion with a misleading "valid category name" error). Seeded from the composed release-notes.md.
  • Org-level — new continue-on-error step posting the same body into codellm-devkit/.githubAnnouncements via a createDiscussion GraphQL mutation, authenticated by ORG_DISCUSSIONS_TOKEN.

Also bumps gradle.properties 2.4.1 → 2.4.2 so the next tag actually exercises this.

Prerequisites (already done)

  • Discussions enabled + Announcements category on this repo.
  • ORG_DISCUSSIONS_TOKEN has repo scope.

- repo-level: add discussion_category_name + discussions:write permission so
  action-gh-release opens an Announcements discussion linked to the release
- org-level: new createDiscussion step posting the same body to
  codellm-devkit/.github, authenticated by ORG_DISCUSSIONS_TOKEN (continue-on-error)
- bump version 2.4.1 -> 2.4.2 so a release can exercise it

Closes #166
@rahlk rahlk added the ci continuous integration goodies label Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci continuous integration goodies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Announce releases in repo and org Discussions

1 participant